package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 订单表
    */
@TableName(value = "dts_order")
public class DtsOrder {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户表的用户ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 订单编号
     */
    @TableField(value = "order_sn")
    private String orderSn;

    /**
     * 订单状态
     */
    @TableField(value = "order_status")
    private Short orderStatus;

    /**
     * 收货人名称
     */
    @TableField(value = "consignee")
    private String consignee;

    /**
     * 收货人手机号
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 收货具体地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 用户订单留言
     */
    @TableField(value = "message")
    private String message;

    /**
     * 商品总费用
     */
    @TableField(value = "goods_price")
    private BigDecimal goodsPrice;

    /**
     * 配送费用
     */
    @TableField(value = "freight_price")
    private BigDecimal freightPrice;

    /**
     * 优惠券减免
     */
    @TableField(value = "coupon_price")
    private BigDecimal couponPrice;

    /**
     * 用户积分减免
     */
    @TableField(value = "integral_price")
    private BigDecimal integralPrice;

    /**
     * 团购优惠价减免
     */
    @TableField(value = "groupon_price")
    private BigDecimal grouponPrice;

    /**
     * 订单费用， = goods_price + freight_price - coupon_price
     */
    @TableField(value = "order_price")
    private BigDecimal orderPrice;

    /**
     * 实付费用， = order_price - integral_price
     */
    @TableField(value = "actual_price")
    private BigDecimal actualPrice;

    /**
     * 微信付款编号
     */
    @TableField(value = "pay_id")
    private String payId;

    /**
     * 微信付款时间
     */
    @TableField(value = "pay_time")
    private Date payTime;

    /**
     * 发货编号
     */
    @TableField(value = "ship_sn")
    private String shipSn;

    /**
     * 发货快递公司
     */
    @TableField(value = "ship_channel")
    private String shipChannel;

    /**
     * 发货开始时间
     */
    @TableField(value = "ship_time")
    private Date shipTime;

    /**
     * 用户确认收货时间
     */
    @TableField(value = "confirm_time")
    private Date confirmTime;

    /**
     * 待评价订单商品数量
     */
    @TableField(value = "comments")
    private Short comments;

    /**
     * 订单关闭时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 创建时间
     */
    @TableField(value = "add_time")
    private Date addTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableField(value = "deleted")
    private Boolean deleted;

    /**
     * 代理结算金额
     */
    @TableField(value = "settlement_money")
    private BigDecimal settlementMoney;

    /**
     * 结算状态
     */
    @TableField(value = "settlement_status")
    private Boolean settlementStatus;

    /**
     * 配送方式 ：0 快递, 1 自提
     */
    @TableField(value = "freight_type")
    private Byte freightType;

    /**
     * 推广用户
     */
    @TableField(value = "share_user_id")
    private Integer shareUserId;

    /**
     * 提货码
     */
    @TableField(value = "fetch_code")
    private String fetchCode;

    /**
     * 原始创建人
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 转赠发送时间
     */
    @TableField(value = "gift_send_time")
    private Date giftSendTime;

    /**
     * 转赠接收时间
     */
    @TableField(value = "gift_receive_time")
    private Date giftReceiveTime;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_ORDER_SN = "order_sn";

    public static final String COL_ORDER_STATUS = "order_status";

    public static final String COL_CONSIGNEE = "consignee";

    public static final String COL_MOBILE = "mobile";

    public static final String COL_ADDRESS = "address";

    public static final String COL_MESSAGE = "message";

    public static final String COL_GOODS_PRICE = "goods_price";

    public static final String COL_FREIGHT_PRICE = "freight_price";

    public static final String COL_COUPON_PRICE = "coupon_price";

    public static final String COL_INTEGRAL_PRICE = "integral_price";

    public static final String COL_GROUPON_PRICE = "groupon_price";

    public static final String COL_ORDER_PRICE = "order_price";

    public static final String COL_ACTUAL_PRICE = "actual_price";

    public static final String COL_PAY_ID = "pay_id";

    public static final String COL_PAY_TIME = "pay_time";

    public static final String COL_SHIP_SN = "ship_sn";

    public static final String COL_SHIP_CHANNEL = "ship_channel";

    public static final String COL_SHIP_TIME = "ship_time";

    public static final String COL_CONFIRM_TIME = "confirm_time";

    public static final String COL_COMMENTS = "comments";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_ADD_TIME = "add_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_DELETED = "deleted";

    public static final String COL_SETTLEMENT_MONEY = "settlement_money";

    public static final String COL_SETTLEMENT_STATUS = "settlement_status";

    public static final String COL_FREIGHT_TYPE = "freight_type";

    public static final String COL_SHARE_USER_ID = "share_user_id";

    public static final String COL_FETCH_CODE = "fetch_code";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_GIFT_SEND_TIME = "gift_send_time";

    public static final String COL_GIFT_RECEIVE_TIME = "gift_receive_time";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户表的用户ID
     *
     * @return user_id - 用户表的用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户表的用户ID
     *
     * @param userId 用户表的用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取订单编号
     *
     * @return order_sn - 订单编号
     */
    public String getOrderSn() {
        return orderSn;
    }

    /**
     * 设置订单编号
     *
     * @param orderSn 订单编号
     */
    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    /**
     * 获取订单状态
     *
     * @return order_status - 订单状态
     */
    public Short getOrderStatus() {
        return orderStatus;
    }

    /**
     * 设置订单状态
     *
     * @param orderStatus 订单状态
     */
    public void setOrderStatus(Short orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 获取收货人名称
     *
     * @return consignee - 收货人名称
     */
    public String getConsignee() {
        return consignee;
    }

    /**
     * 设置收货人名称
     *
     * @param consignee 收货人名称
     */
    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    /**
     * 获取收货人手机号
     *
     * @return mobile - 收货人手机号
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置收货人手机号
     *
     * @param mobile 收货人手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取收货具体地址
     *
     * @return address - 收货具体地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置收货具体地址
     *
     * @param address 收货具体地址
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取用户订单留言
     *
     * @return message - 用户订单留言
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置用户订单留言
     *
     * @param message 用户订单留言
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * 获取商品总费用
     *
     * @return goods_price - 商品总费用
     */
    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    /**
     * 设置商品总费用
     *
     * @param goodsPrice 商品总费用
     */
    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    /**
     * 获取配送费用
     *
     * @return freight_price - 配送费用
     */
    public BigDecimal getFreightPrice() {
        return freightPrice;
    }

    /**
     * 设置配送费用
     *
     * @param freightPrice 配送费用
     */
    public void setFreightPrice(BigDecimal freightPrice) {
        this.freightPrice = freightPrice;
    }

    /**
     * 获取优惠券减免
     *
     * @return coupon_price - 优惠券减免
     */
    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    /**
     * 设置优惠券减免
     *
     * @param couponPrice 优惠券减免
     */
    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    /**
     * 获取用户积分减免
     *
     * @return integral_price - 用户积分减免
     */
    public BigDecimal getIntegralPrice() {
        return integralPrice;
    }

    /**
     * 设置用户积分减免
     *
     * @param integralPrice 用户积分减免
     */
    public void setIntegralPrice(BigDecimal integralPrice) {
        this.integralPrice = integralPrice;
    }

    /**
     * 获取团购优惠价减免
     *
     * @return groupon_price - 团购优惠价减免
     */
    public BigDecimal getGrouponPrice() {
        return grouponPrice;
    }

    /**
     * 设置团购优惠价减免
     *
     * @param grouponPrice 团购优惠价减免
     */
    public void setGrouponPrice(BigDecimal grouponPrice) {
        this.grouponPrice = grouponPrice;
    }

    /**
     * 获取订单费用， = goods_price + freight_price - coupon_price
     *
     * @return order_price - 订单费用， = goods_price + freight_price - coupon_price
     */
    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    /**
     * 设置订单费用， = goods_price + freight_price - coupon_price
     *
     * @param orderPrice 订单费用， = goods_price + freight_price - coupon_price
     */
    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    /**
     * 获取实付费用， = order_price - integral_price
     *
     * @return actual_price - 实付费用， = order_price - integral_price
     */
    public BigDecimal getActualPrice() {
        return actualPrice;
    }

    /**
     * 设置实付费用， = order_price - integral_price
     *
     * @param actualPrice 实付费用， = order_price - integral_price
     */
    public void setActualPrice(BigDecimal actualPrice) {
        this.actualPrice = actualPrice;
    }

    /**
     * 获取微信付款编号
     *
     * @return pay_id - 微信付款编号
     */
    public String getPayId() {
        return payId;
    }

    /**
     * 设置微信付款编号
     *
     * @param payId 微信付款编号
     */
    public void setPayId(String payId) {
        this.payId = payId;
    }

    /**
     * 获取微信付款时间
     *
     * @return pay_time - 微信付款时间
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * 设置微信付款时间
     *
     * @param payTime 微信付款时间
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * 获取发货编号
     *
     * @return ship_sn - 发货编号
     */
    public String getShipSn() {
        return shipSn;
    }

    /**
     * 设置发货编号
     *
     * @param shipSn 发货编号
     */
    public void setShipSn(String shipSn) {
        this.shipSn = shipSn;
    }

    /**
     * 获取发货快递公司
     *
     * @return ship_channel - 发货快递公司
     */
    public String getShipChannel() {
        return shipChannel;
    }

    /**
     * 设置发货快递公司
     *
     * @param shipChannel 发货快递公司
     */
    public void setShipChannel(String shipChannel) {
        this.shipChannel = shipChannel;
    }

    /**
     * 获取发货开始时间
     *
     * @return ship_time - 发货开始时间
     */
    public Date getShipTime() {
        return shipTime;
    }

    /**
     * 设置发货开始时间
     *
     * @param shipTime 发货开始时间
     */
    public void setShipTime(Date shipTime) {
        this.shipTime = shipTime;
    }

    /**
     * 获取用户确认收货时间
     *
     * @return confirm_time - 用户确认收货时间
     */
    public Date getConfirmTime() {
        return confirmTime;
    }

    /**
     * 设置用户确认收货时间
     *
     * @param confirmTime 用户确认收货时间
     */
    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    /**
     * 获取待评价订单商品数量
     *
     * @return comments - 待评价订单商品数量
     */
    public Short getComments() {
        return comments;
    }

    /**
     * 设置待评价订单商品数量
     *
     * @param comments 待评价订单商品数量
     */
    public void setComments(Short comments) {
        this.comments = comments;
    }

    /**
     * 获取订单关闭时间
     *
     * @return end_time - 订单关闭时间
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置订单关闭时间
     *
     * @param endTime 订单关闭时间
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取创建时间
     *
     * @return add_time - 创建时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置创建时间
     *
     * @param addTime 创建时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取逻辑删除
     *
     * @return deleted - 逻辑删除
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * 设置逻辑删除
     *
     * @param deleted 逻辑删除
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    /**
     * 获取代理结算金额
     *
     * @return settlement_money - 代理结算金额
     */
    public BigDecimal getSettlementMoney() {
        return settlementMoney;
    }

    /**
     * 设置代理结算金额
     *
     * @param settlementMoney 代理结算金额
     */
    public void setSettlementMoney(BigDecimal settlementMoney) {
        this.settlementMoney = settlementMoney;
    }

    /**
     * 获取结算状态
     *
     * @return settlement_status - 结算状态
     */
    public Boolean getSettlementStatus() {
        return settlementStatus;
    }

    /**
     * 设置结算状态
     *
     * @param settlementStatus 结算状态
     */
    public void setSettlementStatus(Boolean settlementStatus) {
        this.settlementStatus = settlementStatus;
    }

    /**
     * 获取配送方式 ：0 快递, 1 自提
     *
     * @return freight_type - 配送方式 ：0 快递, 1 自提
     */
    public Byte getFreightType() {
        return freightType;
    }

    /**
     * 设置配送方式 ：0 快递, 1 自提
     *
     * @param freightType 配送方式 ：0 快递, 1 自提
     */
    public void setFreightType(Byte freightType) {
        this.freightType = freightType;
    }

    /**
     * 获取推广用户
     *
     * @return share_user_id - 推广用户
     */
    public Integer getShareUserId() {
        return shareUserId;
    }

    /**
     * 设置推广用户
     *
     * @param shareUserId 推广用户
     */
    public void setShareUserId(Integer shareUserId) {
        this.shareUserId = shareUserId;
    }

    /**
     * 获取提货码
     *
     * @return fetch_code - 提货码
     */
    public String getFetchCode() {
        return fetchCode;
    }

    /**
     * 设置提货码
     *
     * @param fetchCode 提货码
     */
    public void setFetchCode(String fetchCode) {
        this.fetchCode = fetchCode;
    }

    /**
     * 获取原始创建人
     *
     * @return create_user_id - 原始创建人
     */
    public Integer getCreateUserId() {
        return createUserId;
    }

    /**
     * 设置原始创建人
     *
     * @param createUserId 原始创建人
     */
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * 获取转赠发送时间
     *
     * @return gift_send_time - 转赠发送时间
     */
    public Date getGiftSendTime() {
        return giftSendTime;
    }

    /**
     * 设置转赠发送时间
     *
     * @param giftSendTime 转赠发送时间
     */
    public void setGiftSendTime(Date giftSendTime) {
        this.giftSendTime = giftSendTime;
    }

    /**
     * 获取转赠接收时间
     *
     * @return gift_receive_time - 转赠接收时间
     */
    public Date getGiftReceiveTime() {
        return giftReceiveTime;
    }

    /**
     * 设置转赠接收时间
     *
     * @param giftReceiveTime 转赠接收时间
     */
    public void setGiftReceiveTime(Date giftReceiveTime) {
        this.giftReceiveTime = giftReceiveTime;
    }
}